<%--
  Created by IntelliJ IDEA.
  User: 小郭子
  Date: 2022/8/26
  Time: 11:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link href="${pageContext.request.contextPath}/statics/layui/css/layui.css" rel="stylesheet">
    <script src="${pageContext.request.contextPath}/statics/jquery-1.6.2.min.js"></script>
</head>
<body>
<h1 align="center">水果详情</h1>
<div style="width: 30%;height: 20%;margin: auto">
    <table border="1" class="layui-table">
        <tr>
            <td>类别:</td>
            <td>${requestScope.fruit.type}</td>
        </tr>
        <tr>
            <td>品种:</td>
            <td>${requestScope.fruit.breed}</td>
        </tr>
        <tr>
            <td>产地:</td>
            <td>${requestScope.fruit.area}</td>
        </tr>
        <tr>
            <td>简介:</td>
            <td>${requestScope.fruit.brief}</td>
        </tr>
        <tr>
            <td>图片:</td>
            <td><img src="${pageContext.request.contextPath}/statics/${requestScope.fruit.pic}"></td>
        </tr>
        <tr>
            <td colspan="2">
                <a href="javascript:history.back()" class="layui-btn layui-btn-radius layui-btn-primary">返回</a>
            </td>
        </tr>
    </table>
</div>
</body>
</html>